package com.ruoyi.system.domain.api;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 用户对象 u_user
 * 
 * @author ruoyi
 * @date 2022-04-22
 */
public class UUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 手机号 */
    @Excel(name = "手机号")
    private String mobile;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 头像 */
    @Excel(name = "头像")
    private String logo;

    /** 昵称 */
    @Excel(name = "昵称")
    private String nickName;

    /** 密码 */
    @Excel(name = "密码")
    private String password;

    /** 密码盐 */
    @Excel(name = "密码盐")
    private String salt;

    /** 交易密码 */
    @Excel(name = "交易密码")
    private String txPassword;

    /** 邀请码 */
    @Excel(name = "邀请码")
    private String inviteCode;

    /** 真实名称 */
    @Excel(name = "真实名称")
    private String realName;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String cardNo;

    /** 身份证正面照 */
    @Excel(name = "身份证正面照")
    private String cardFrontUrl;

    /** 身份证反面照 */
    @Excel(name = "身份证反面照")
    private String cardBackUrl;

    /** 手持照 */
    @Excel(name = "手持照")
    private String holdCardUrl;

    /** 认证状态 0待认证 1审核中 2审核通过 3审核拒绝 */
    @Excel(name = "认证状态 0待认证 1审核中 2审核通过 3审核拒绝")
    private Integer authStatus;

    /** 用户状态 1可用 2冻结  3禁用 */
    @Excel(name = "用户状态 1可用 2冻结  3禁用")
    private Integer status;

    /** 守护星级等级 */
    @Excel(name = "守护星级等级")
    private Long holdLevel;

    /** 矿工等级 */
    @Excel(name = "矿工等级")
    private Long mineLevel;

    /** 平台代数 */
    @Excel(name = "平台代数")
    private Long seniority;

    /** 是否开启签到 0否 1是 实名认证通过后开启 */
    @Excel(name = "是否开启签到 0否 1是 实名认证通过后开启")
    private Long isSign;

    private Date createTime;

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMobile(String mobile) 
    {
        this.mobile = mobile;
    }

    public String getMobile() 
    {
        return mobile;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setLogo(String logo) 
    {
        this.logo = logo;
    }

    public String getLogo() 
    {
        return logo;
    }
    public void setNickName(String nickName) 
    {
        this.nickName = nickName;
    }

    public String getNickName() 
    {
        return nickName;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setSalt(String salt) 
    {
        this.salt = salt;
    }

    public String getSalt() 
    {
        return salt;
    }
    public void setTxPassword(String txPassword) 
    {
        this.txPassword = txPassword;
    }

    public String getTxPassword() 
    {
        return txPassword;
    }
    public void setInviteCode(String inviteCode) 
    {
        this.inviteCode = inviteCode;
    }

    public String getInviteCode() 
    {
        return inviteCode;
    }
    public void setRealName(String realName) 
    {
        this.realName = realName;
    }

    public String getRealName() 
    {
        return realName;
    }
    public void setCardNo(String cardNo) 
    {
        this.cardNo = cardNo;
    }

    public String getCardNo() 
    {
        return cardNo;
    }
    public void setCardFrontUrl(String cardFrontUrl) 
    {
        this.cardFrontUrl = cardFrontUrl;
    }

    public String getCardFrontUrl() 
    {
        return cardFrontUrl;
    }
    public void setCardBackUrl(String cardBackUrl) 
    {
        this.cardBackUrl = cardBackUrl;
    }

    public String getCardBackUrl() 
    {
        return cardBackUrl;
    }
    public void setHoldCardUrl(String holdCardUrl) 
    {
        this.holdCardUrl = holdCardUrl;
    }

    public String getHoldCardUrl() 
    {
        return holdCardUrl;
    }
    public void setAuthStatus(Integer authStatus) 
    {
        this.authStatus = authStatus;
    }

    public Integer getAuthStatus() 
    {
        return authStatus;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setHoldLevel(Long holdLevel) 
    {
        this.holdLevel = holdLevel;
    }

    public Long getHoldLevel() 
    {
        return holdLevel;
    }
    public void setMineLevel(Long mineLevel) 
    {
        this.mineLevel = mineLevel;
    }

    public Long getMineLevel() 
    {
        return mineLevel;
    }
    public void setSeniority(Long seniority) 
    {
        this.seniority = seniority;
    }

    public Long getSeniority() 
    {
        return seniority;
    }
    public void setIsSign(Long isSign) 
    {
        this.isSign = isSign;
    }

    public Long getIsSign() 
    {
        return isSign;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("mobile", getMobile())
            .append("email", getEmail())
            .append("logo", getLogo())
            .append("nickName", getNickName())
            .append("password", getPassword())
            .append("salt", getSalt())
            .append("txPassword", getTxPassword())
            .append("inviteCode", getInviteCode())
            .append("realName", getRealName())
            .append("cardNo", getCardNo())
            .append("cardFrontUrl", getCardFrontUrl())
            .append("cardBackUrl", getCardBackUrl())
            .append("holdCardUrl", getHoldCardUrl())
            .append("authStatus", getAuthStatus())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("holdLevel", getHoldLevel())
            .append("mineLevel", getMineLevel())
            .append("seniority", getSeniority())
            .append("isSign", getIsSign())
            .toString();
    }
}
